from django.conf.urls import re_path

from . import views
urlpatterns =[
    # 根据设计好的接口文档，匹配相应的路径
    # 订单支付功能
    re_path(r'^payment/(?P<order_id>\d+)/$', views.PaymentView.as_view()),
    # 订单支付状态
    re_path(r'^payment/status/$', views.PaymentStatuView.as_view()),
]